package cn.iocoder.yudao.module.member.convert.pickupinfo;

import cn.iocoder.yudao.module.member.api.pickup.PickupInfoDTO;
import cn.iocoder.yudao.module.member.controller.app.pickupinfo.vo.PickupInfoRespVO;
import cn.iocoder.yudao.module.member.dal.dataobject.pickupinfo.PickupInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 用户收件地址 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface PickUpInfoConvert {

    PickUpInfoConvert INSTANCE = Mappers.getMapper(PickUpInfoConvert.class);


    PickupInfoRespVO convert(PickupInfoDO pickupInfo);

    List<PickupInfoRespVO> convert(List<PickupInfoDO> list);

    PickupInfoDTO convertDto(PickupInfoDO pickupInfo);
}
